package com.teamwings.modules.cate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwings.modules.cate.entity.FormTableCate;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-05-05
 */
public interface IFormTableCateService extends IService<FormTableCate> {

    List<FormTableCate> getTree();

    void saveCate(FormTableCate cate);

    List<FormTableCate> queryCateTreeSync(String pid);

    int removeByIdMain(String id);

    int removeByIdListMain(List<String> ids);
}
